package com.pojo;

/**
 * Created by wcd on 2017/2/24.
 */
public class Dog extends Animal {
    public Dog(String name) {
        super(name);
    }

    public void bark(){
        System.out.println("dog can bark");
    }
    public void run(){
        System.out.println("animal can run,but dog can jump");
    }
}
